home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
edit
/
tde40.zip
/
tdecfg
< prev
next >
Wrap
Text File
|
1994-06-05
|
18KB
|
517 lines
;
; TDE, the Thomson-Davis Editor
; Version 4.0
; June 5, 1994
; Frank Davis
;
; This file was intended to be used as a starting point for the .tdecfg
; file in Linux. As fas as I know, many keys available in DOS/Windows
; are not available in Linux.
;
;
; These are the default function key, mode, and color assignments in
; the distribution version of tde, version 4.0. Please feel free to
; change/modify these function assignments to suite your tastes.
;
;
; s+ == Shift+ c+ == Control+
;
;
; Comments begin with a semicolon.
;
; Case is not significant for key names or function names.
;
;
; Oops, I forgot to document the two-key, WordStar-like key assigments in
; previous versions of TDE:
;
; 1st key 2nd key function
; ------- ------- --------
; c+k TwoCharKey ; first, tell TDE two-key
; c+k q Quit ; next, assign as many
; c+k w SplitHorizontal ; two-keys as desired.
;
; To define a macro, use the Macro function assignment followed by the keys
; in the macro. In tde, macros are simple keyboard macros. Define the
; macros as if you were entering keys from the keyboard. Literals should
; be enclosed by double quotes. Place all of the macro definition on one
; line. Lines may be up to 1000 characters long. Recursive macro
; definitions are allowed. Here are a few macro examples:
;
;
; This macro splits the screen and loads in a custom help file when Alt+5 is
; pressed.
;
; a+5 Macro Center f9 s+f4 "myhelp.hlp" enter
;
;
; This simple recursive macro moves the cursor down until the eof is reached.
; The last key in the macro definition calls itself.
;
; a+6 Macro down a+6
;
;
; In some instances, you may want to wipe out any previously assigned
; macro. For example, you may have saved a macro file in tde and now want
; to erase a macro assigned to a key. Use the Null function to clear a key.
;
; a+7 Null
;
;
; To assign ASCII or Extended ASCII characters to function keys, enclose the
; character in quotes.
;
; s+a+A Macro "ä"
;
; s+a+t Macro "tde, the Thomson-Davis Editor"
;
;
; You may assign any editor function to any recognized function key with
; no restrictions. For example, the Enter key could be assigned to the
; MarkBox function. Additionally, No function is required to be assigned
; to any key, e.g. you don't have to assign any function to the Enter key if
; you don't want to. One function may be assigned to several keys, but
; one key may only be assigned to only one function. If a key is assigned
; to several functions, only the last function assignment has any effect.
;
; All of the 233 recognized function keys in tde are listed below.
; I marked those keys not recognized in curses under Linux with a '*'.
;
; basic editing keys
;
enter Rturn ; Note: Rturn is not spelled with an e
; * s+enter NextLine ; first character in next line
; * c+enter BegNextLine ; column 1 of nextline
; * a+Enter
GreyEnter ; 101 keyboard on keypad
; * s+GreyEnter ; 101 keyboard on keypad
; * c+GreyEnter ; 101 keyboard on keypad
; * a+GreyEnter ; 101 keyboard on keypad
backspace BackSpace
; * s+backspace BackSpace
; * c+backspace
; * a+backspace
esc AbortCommand
; * s+esc
; * c+esc ClearAllMacros
; * a+esc
tab Tab
; * s+tab BackTab
; * c+tab SetTabs
; * a+tab ToggleSmartTabs
;
; function keys
;
f1 Help
f2 Save
f3 Quit
f4 File
f5 RepeatFindForward1
f6 RepeatFindBackward1
;f7 RepeatDiff
f7 RepeatFindRegX
f8 SplitVertical
f9 SplitHorizontal
f10 NextWindow
f11 RepeatDiff
f12 RepeatGrep
; * s+f1 SaveMacro
; * s+f2 SaveAs
; * s+f3 LoadMacro
; * s+f4 EditFile
; * s+f5 FindForward
; * s+f6 FindBackward
; * s+f7 FindRegX
; * s+f8 ReplaceString
; * s+f9 SizeWindow
; * s+f10 PreviousWindow
; * s+f11 DefineDiff
; * s+f12 DefineGrep
; * c+f1 ToggleSync
; * c+f2 ToggleEol
; * c+f3 ToggleCRLF
; * c+f4 ToggleTrailing
; * c+f5 ToggleSearchCase
; * c+f6 SetLeftMargin
; * c+f7 SetRightMargin
; * c+f8 SetParagraphMargin
; * c+f9 ZoomWindow
; * c+f10 NextHiddenWindow
; * c+f11
; * c+f12 DefineRegxGrep
; * a+f1 DirList
; * a+f2 SetFileAttributes
; * a+f3 RecordMacro
; * a+f4 EditNextFile
; * ; a+f5 RepeatFindForward2
; * ; a+f6 RepeatFindBackward2
; * a+f5 NextDirtyLine
; * a+f6 PrevDirtyLine
; * a+f7 FormatParagraph
; * a+f8 LeftJustify
; * a+f9 RightJustify
; * a+f10 CenterJustify
; * a+f11
; * a+f12 RepeatFindRegX
;
; control cluster / keypad keys
;
Home BegOfLine
End EndOfLine
Left CharLeft
Right CharRight
Up LineUp
Down LineDown
PgUp ScreenUp
PgDn ScreenDown
Ins ToggleOverWrite
Del DeleteChar
Center CenterWindow ; center is the center of the key pad
; * c+Home TopOfScreen
; * c+End BotOfScreen
; * c+Left WordLeft
; * c+Right WordRight
; * c+Up ScrollUpLine
; * c+Down ScrollDnLine
; * c+PgUp TopOfFile
; * c+PgDn EndOfFile
; * c+Ins
; * c+Del StreamDeleteChar
; * c+Center CenterLine
; * a+GreyHome ; 101 keyboard
; * a+GreyEnd ; 101 keyboard
; * a+GreyLeft PanLeft ; 101 keyboard
; * a+GreyRight PanRight ; 101 keyboard
; * a+GreyUp PanUp ; 101 keyboard
; * a+GreyDown PanDn ; 101 keyboard
; * a+GreyPgUp HorizontalScreenLeft ; 101 keyboard
; * a+GreyPgDn HorizontalScreenRight ; 101 keyboard
; * a+GreyIns ; 101 keyboard
; * a+GreyDel ; 101 keyboard
; * Grey+ ScrollDnLine ; with Numlock off
; * Grey- ScrollUpLine ; with Numlock off
; * c+Grey+ PanDn
; * c+Grey- PanUp
; * c+Grey/ IfCapsLock ; 101 keyboard
; * c+Grey* IfNotCapsLock ; 101 keyboard
; * a+Grey/ ; 101 keyboard
; * s+c+left PanLeft
; * s+c+right PanRight
;
; Alt keys
;
; * a+a AddLine
; * a+b MarkBox
; * a+c CopyBlock
; * a+d DeleteLine
; * a+e BlockExpandTabs
; * a+f FillBlock
; * a+g DeleteBlock
; * a+h Help
; * a+i ToggleIndent
; * a+j JoinLine
; * a+k KopyBlock
; * a+l MarkLine
; * a+m MoveBlock
; * a+n NumberBlock
; * a+o OverlayBlock
; * a+p PrintBlock
; * a+q Quit
; * a+r ToggleRuler
; * a+s SortBoxBlock
; * a+t BlockTrimTrailing
; * a+u UnMarkBlock
; * a+v ToggleWordWrap
; * a+w BlockToFile
; * a+x MarkStream
; * a+y UndoDelete
; * a+z ToggleZ
; * a+~
; * a+1 SetMark1
; * a+2 SetMark2
; * a+3 SetMark3
; * a+4
; * a+5
; * a+6
; * a+7
; * a+8
; * a+9
; * a+0
; * a+-